/**
 * Copyright 2012 Roger Cockshutt
 * krakenbrau@gmail.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.googlecode.parallelrl.display;

/**
 * @author Roger Cockshutt
 *
 */
public abstract class Colors {
	
	public enum libTCOD {
		// Standard+
		red	(				0x804040,	0xFFBFBF,	0xFFA6A6,	0xFF7373,	0xFF0000,	0xBF0000,	0x800000,	0x400000),
		flame (				0x805040,	0xFFCFBF,	0xFFBCA6,	0xFF9573,	0xFF3F00,	0xBF2F00,	0x802000,	0x401000),
		orange (			0x806040,	0xFFDFBF,	0xFFD2A6,	0xFFB973,	0xFF7F00,	0xBF5F00,	0x804000,	0x402000),
		amber (				0x807040,	0xFFEFBF,	0xFFE9A6,	0xFFDC73,	0xFFBF00,	0xBF8F00,	0x806000,	0x403000),
		yellow (			0x808040,	0xFFFFBF,	0xFFFFA6,	0xFFFF73,	0xFFFF00,	0xBFBF00,	0x808000,	0x404000),
		lime (				0x708040,	0xEFFFBF,	0xE9FFA6,	0xDCFF73,	0xBFFF00,	0x8FBF00,	0x608000,	0x304000),
		chartreuse (		0x608040,	0xDFFFBF,	0xD2FFA6,	0xB9FF73,	0x7FFF00,	0x5FBF00,	0x408000,	0x204000),
		puce (				0x508040,	0xCFFFBF,	0xBCFFA6,	0x95FF73,	0x3FFF00,	0x2FBF00,	0x208000,	0x104000),
		green (				0x408040,	0xBFFFBF,	0xA6FFA6,	0x73FF73,	0x00FF00,	0x00BF00,	0x008000,	0x004000),
		algae (				0x408050,	0xBFFFCF,	0xA6FFBC,	0x73FF95,	0x00FF3F,	0x00BF2F,	0x008020,	0x004010),
		sea (				0x408060,	0xBFFFDF,	0xA6FFD2,	0x73FFB9,	0x00FF7F,	0x00BF5F,	0x008040,	0x004020),
		turquoise (			0x408070,	0xBFFFEF,	0xA6FFE9,	0x73FFDC,	0x00FFBF,	0x00BF8F,	0x008060,	0x004030),
		cyan (				0x408080,	0xBFFFFF,	0xA6FFFF,	0x73FFFF,	0x00FFFF,	0x00BFBF,	0x008080,	0x004040),
		sky (				0x407080,	0xBFEFFF,	0xA6E9FF,	0x73DCFF,	0x00BFFF,	0x008FBF,	0x006080,	0x003040),
		azure (				0x406080,	0xBFDFFF,	0xA6D2FF,	0x73B9FF,	0x007FFF,	0x005FBF,	0x004080,	0x002040),
		cerulean (			0x405080,	0xBFCFFF,	0xA6BCFF,	0x7395FF,	0x003FFF,	0x002FBF,	0x002080,	0x001040),
		blue (				0x404080,	0xBFBFFF,	0xA6A6FF,	0x7373FF,	0x0000FF,	0x0000BF,	0x000080,	0x000040),
		han (				0x504080,	0xCFBFFF,	0xBCA6FF,	0x9573FF,	0x3F00FF,	0x2F00BF,	0x200080,	0x100040),
		violet (			0x604080,	0xDFBFFF,	0xD2A6FF,	0xB973FF,	0x7F00FF,	0x5F00BF,	0x400080,	0x200040),
		purple (			0x704080,	0xEFBFFF,	0xE9A6FF,	0xDC73FF,	0xBF00FF,	0x8F00BF,	0x600080,	0x300040),
		fuchsia (			0x804080,	0xFFBFFF,	0xFFA6FF,	0xFF73FF,	0xFF00FF,	0xBF00BF,	0x800080,	0x400040),
		magenta (			0x804070,	0xFFBFEF,	0xFFA6E9,	0xFF73DC,	0xFF00BF,	0xBF008F,	0x800060,	0x400030),
		pink (				0x804060,	0xFFBFDF,	0xFFA6D2,	0xFF73B9,	0xFF007F,	0xBF005F,	0x800040,	0x400020),
		crimson (			0x804050,	0xFFBFCF,	0xFFA6BC,	0xFF7395,	0xFF003F,	0xBF002F,	0x800020,	0x400010),
		// Grey/Sepia
		grey (				0x7F7F7F,	0xDFDFDF,	0xBFBFBF,	0x9F9F9F,	0x7F7F7F,	0x5F5F5F,	0x3F3F3F,	0x1F1F1F),
		sepia (				0x7F653F,	0xDED3C3,	0xBFAA8F,	0x9E8664,	0x7F653F,	0x5E4A2F,	0x3F321F,	0x1F180F),
		// Metallic
		brass (				0xBF9760,	0xBF9760,	0xBF9760,	0xBF9760,	0xBF9760,	0xBF9760,	0xBF9760,	0xBF9760),
		copper (			0xC4887C,	0xC4887C,	0xC4887C,	0xC4887C,	0xC4887C,	0xC4887C,	0xC4887C,	0xC4887C),
		gold (				0xE5BF00,	0xE5BF00,	0xE5BF00,	0xE5BF00,	0xE5BF00,	0xE5BF00,	0xE5BF00,	0xE5BF00),
		silver (			0xCBCBCB,	0xCBCBCB,	0xCBCBCB,	0xCBCBCB,	0xCBCBCB,	0xCBCBCB,	0xCBCBCB,	0xCBCBCB),
		// Miscellaneous
		celadon (			0xACFFAF,	0xACFFAF,	0xACFFAF,	0xACFFAF,	0xACFFAF,	0xACFFAF,	0xACFFAF,	0xACFFAF),
		peach (				0xFF9F7F,	0xFF9F7F,	0xFF9F7F,	0xFF9F7F,	0xFF9F7F,	0xFF9F7F,	0xFF9F7F,	0xFF9F7F),
		// Monochrome
		black (				0x000000,	0x000000,	0x000000,	0x000000,	0x000000,	0x000000,	0x000000,	0x000000),
		white (				0xFFFFFF,	0xFFFFFF,	0xFFFFFF,	0xFFFFFF,	0xFFFFFF,	0xFFFFFF,	0xFFFFFF,	0xFFFFFF)
		;
		
		public final int 	desaturated;
		public final int 	lightest;
		public final int	lighter;
		public final int	light;
		public final int	normal;
		public final int	dark;
		public final int 	darker;
		public final int	darkest;
		
		private libTCOD(int desat, int highlight, int midlight, int lowlight, int reg, int lowdark, int middark, int highdark) {
			desaturated = desat;
			lightest = highlight;
			lighter = midlight;
			light = lowlight;
			normal = reg;
			dark = lowdark;
			darker = middark;
			darkest = highdark;
		}
	}
	
	public enum SVG {
		Black 					(0x000000),
		Maroon 					(0x800000),
		Green 					(0x008000),
		Olive 					(0x808000),
		Navy 					(0x000080),
		Purple 					(0x800080),
		Teal 					(0x008080),
		Silver					(0xC0C0C0),
		Grey					(0x808080),
		Gray					(0x808080),
		Red						(0xFF0000),
		Lime					(0x00FF00),
		Yellow					(0xFFFF00),
		Blue					(0x0000FF),
		Fuchsia					(0xFF00FF),
		Magenta					(0xFF00FF),
		Aqua					(0x00FFFF),
		Cyan					(0x00FFFF),
		White					(0xFFFFFF),
		Orange					(0xFFA500),
		AliceBlue				(0xF0F8FF),
		AntiqueWhite			(0xFAEBD7),
		Aquamarine				(0x7FFFD4),
		Azure					(0xF0FFFF),
		Beige					(0xF5F5DC),
		Bisque					(0xFFE4C4),
		BlanchedAlmond			(0xFFEBCD),
		BlueViolet				(0x8A2BE2),
		Brown					(0xA52A2A),
		BurlyWood				(0xDEB887),
		CadetBlue				(0x5F9EA0),
		Chartreuse				(0x7FFF00),
		Chocolate				(0xD2691E),
		Coral					(0xFF7F50),
		CornflowerBlue			(0x6495ED),
		Cornsilk				(0xFFF8DC),
		Crimson					(0xDC143C),
		DarkBlue				(0x00008B),
		DarkCyan				(0x008B8B),
		DarkGoldenrod			(0xB8860B),
		DarkGrey				(0xA9A9A9),
		DarkGray				(0xA9A9A9),
		DarkGreen				(0x006400),
		DarkKhaki				(0xBDB76B),
		DarkMagenta				(0x8B008B),
		DarkOliveGreen			(0x556B2F),
		DarkOrange				(0xFF8C00),
		DarkOrchid				(0x9932CC),
		DarkRed					(0x8B0000),
		DarkSalmon				(0xE9967A),
		DarkSeaGreen			(0x8FBC8F),
		DarkSlateBlue			(0x483D8B),
		DarkSlateGrey			(0x2F4F4F),
		DarkSlateGray			(0x2F4F4F),
		DarkTurquoise			(0x00CED1),
		DarkViolet				(0x9400D3),
		Deeppink				(0xFF1493),
		Deepskyblue				(0x00BFFF),
		DimGrey					(0x696969),
		DimGray					(0x696969),
		DodgerBlue				(0x1E90FF),
		Firebrick				(0xB22222),
		FloralWhite				(0xFFFAF0),
		ForestGreen				(0x228B22),
		Gainsboro				(0xDCDCDC),
		GhostWhite				(0xF8F8FF),
		Gold					(0xFFD700),
		Goldenrod				(0xDAA520),
		GreenYellow				(0xADFF2F),
		Honeydew				(0xF0FFF0),
		HotPink					(0xFF69B4),
		IndianRed				(0xCD5C5C),
		Indigo					(0x4B0082),
		Ivory					(0xFFFFF0),
		Khaki					(0xF0E68C),
		Lavender				(0xE6E6FA),
		LavenderBlush			(0xFFF0F5),
		LawnGreen				(0x7CFC00),
		LemonChiffon			(0xFFFACD),
		LightBlue				(0xADD8E6),
		LightCoral				(0xF08080),
		LightCyan				(0xE0FFFF),
		LightGoldenrodYellow	(0xFAFAD2),
		LightGrey				(0xD3D3D3),
		LightGray				(0xD3D3D3),
		LightGreen				(0x90EE90),
		LightPink				(0xFFB6C1),
		LightSalmon				(0xFFA07A),
		LightSeaGreen			(0x20B2AA),
		LightSkyBlue			(0x87CEFA),
		LightSlateGrey			(0x778899),
		LightSlateGray			(0x778899),
		LightSteelBlue			(0xB0C4DE),
		LightYellow				(0xFFFFE0),
		LimeGreen				(0x32CD32),
		Linen					(0xFAF0E6),
		MediumAquamarine		(0x66CDAA),
		MediumBlue				(0x0000CD),
		MediumOrchid			(0xBA55D3),
		MediumPurple			(0x9370DB),
		MediumSeaGreen			(0x3CB371),
		MediumSlateBlue			(0x7B68EE),
		MediumSpringGreen		(0x00FA9A),
		MediumTurquoise			(0x48D1CC),
		MediumVioletRed			(0xC71585),
		MidnightBlue			(0x191970),
		MintCream				(0xF5FFFA),
		MistyRose				(0xFFE4E1),
		Moccasin				(0xFFE4B5),
		NavajoWhite				(0xFFDEAD),
		OldLace					(0xFDF5E6),
		OliveDrab				(0x6B8E23),
		OrangeRed				(0xFF4500),
		Orchid					(0xDA70D6),
		PaleGoldenrod			(0xEEE8AA),
		PaleGreen				(0x98FB98),
		PaleTurquoise			(0xAFEEEE),
		PaleVioletRed			(0xDB7093),
		PapayaWhip				(0xFFEFD5),
		PeachPuff				(0xFFDAB9),
		Peru					(0xCD853F),
		Pink					(0xFFC0CB),
		Plum					(0xDDA0DD),
		PowderBlue				(0xB0E0E6),
		RosyBrown				(0xBC8F8F),
		RoyalBlue				(0x4169E1),
		SaddleBrown				(0x8B4513),
		Salmon					(0xFA8072),
		SandyBrown				(0xF4A460),
		SeaGreen				(0x2E8B57),
		Seashell				(0xFFF5EE),
		Sienna					(0xA0522D),
		SkyBlue					(0x87CEEB),
		SlatBlue				(0x6A5ACD),
		SlateGrey				(0x708090),
		SlateGray				(0x708090),
		Snow					(0xFFFAFA),
		SpringGreen				(0x00FF7F),
		SteelBlue				(0x4682B4),
		Tan						(0xD2D48C),
		Thistle					(0xD8BFD8),
		Tomato					(0xFF6347),
		Turquoise				(0x40E0D0),
		Violet					(0xEE82EE),
		Wheat					(0xF5DEB3),
		WhiteSmoke				(0xF5F5F5),
		YellowGreen				(0x9ACD32),
		;
		
		public final int value;
		
		private SVG(int col) {
			value = col;
		}
	}

}
